//
//  YTBaseSetTableCell.m
//  YUNT
//
//  Created by 小萌 on 2017/11/13.
//  Copyright © 2017年 梁炜东. All rights reserved.
//

#import "YTBaseSetTableCell.h"
@interface YTBaseSetTableCell()

@property (weak, nonatomic) IBOutlet UILabel *lbTitle;
@property (weak, nonatomic) IBOutlet UIImageView *ivIcon;
@property (weak, nonatomic) IBOutlet UIImageView *ivSeleted;

@end
@implementation YTBaseSetTableCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}
- (void)cofigWithModel:(YTSetModel*)model
{
    self.lbTitle.text = model.name;
    self.ivIcon.contentMode = UIViewContentModeScaleAspectFit;
    self.ivIcon.image = IMAGE(model.logo);
    self.ivSeleted.hidden = !model.isSelected;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];
    // Configure the view for the selected state
}

@end
